cmake_minimum_required(VERSION 2.6)
project(ceresexample01)

find_package(Ceres REQUIRED)

include_directories(${CERES_INCLUDE_DIRS})
link_libraries(${CERES_LIBRARY_DIRS})

add_executable(ceresexample01 main.cpp)

target_link_libraries(ceresexample01 ${CERES_LIBRARIES})

install(TARGETS ceresexample01 RUNTIME DESTINATION bin)
